import matplotlib.pyplot as plt
import matplotlib.image as mpimg
from os.path import join,dirname

#print(os.path.abspath(os.curdir))
name="2024-03-23-20-07-09-208404.png"

DIR = dirname(__file__)

path=join(DIR, "gray_scale_188_120", name)


img=mpimg.imread(path)
# print(img)
# plt.imshow(img[:,:,1],cmap='gray')

#img=[[0,255],[255,0]]
plt.imshow(img,cmap='gray')
plt.show()


